package oop.java0324.multidiver;

public class DiverTest {
    public static void main(String[] args) {
        MultiDiver diver = new MultiDiver("老刘");
        Car car = new Car(7, 2);
        Air air = new Air(10000, 299);
        Tank tank = new Tank(2000, 200);
        Tractors tractors = new Tractors(158, 300);
        Ship ship = new Ship(30000, 30000, 500);
        diver.diver(car);
        System.out.println("-----------------------------");
        diver.diver(air);
        System.out.println("-----------------------------");
        diver.diver(tank);
        System.out.println("-----------------------------");
        diver.diver(tractors);
        System.out.println("-----------------------------");
        diver.diver(ship);
    }
}
